package com.cnap.multiclouldmgmt.service.impl;

import com.cnap.multiclouldmgmt.MulticlouldmgmtApplicationTests;
import com.cnap.multiclouldmgmt.model.log.OperationTypeEnum;
import com.cnap.multiclouldmgmt.service.OperationLogService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;

import static org.junit.jupiter.api.Assertions.*;

class OperationLogServiceImplTest extends MulticlouldmgmtApplicationTests {

    @Autowired
    private OperationLogService operationLogService;

    @Test
    void saveOperationLog() {


    }

    @Test
    void testSaveOperationLog() {

        operationLogService.saveOperationLog(OperationTypeEnum.ADD.getType(), "增加集群节点：");
    }
}